/*body*/
body{
    background-color:#cc3536;
    margin:0;
    color: yellow;
    position: relative
}
img{
    position: absolute;
    top: 0px;
}

/*js用到的*/
/*透明度*/
.opacity{
    opacity:0.5;
}
/*mouseenter时候的显示的颜色名*/
#color{
    position: relative;
    left: 80px;
    top: -30px;
    font-size: 23px;
}
/*显示*/
.show{
    display: inline-block;
}
/*消失*/
.hid{
    display: none;
}


/*main主体*/
main{
    width: 980px;
    margin: 0 auto;
    position: relative;
    padding-top: 60px;
}
/*左面部分*/
main>div:nth-of-type(1){
    width: 510px;
    height: 100vh;
    display: inline-block;
    position: absolute;
}
/*左边部分一行七个颜色*/
#other{
    display: inline-block;
}
.seven{
    width: 50px;
    padding-left: 5px;
    padding-right: 5px;
    position: relative;
    height: 300px;
    display: inline-block;
    cursor:pointer;
}
.seven>div>img{
    margin-top:5px;
}
.seven>div{
    /*border-top: 5px solid #CC3536;*/
    margin: 0 auto;
    width: 50px;
    position: relative;
}
.seven>div>div{
    display: inline-block;
    float: right;
    margin-right: 5px;
}
.seven>div>div>p{
    margin: 0;
    font-size: 16px;
}
.seven>div>div>p:nth-of-type(1){
    margin-top: 16px;
}
.seven b{
    position: absolute;
    left: 26px;
    top:135px;
    color: #E1DBDC;
    display: inline-block;
    transform-origin:0% 100%;
    transform: rotate(90deg);
}
.seven section{
    position: absolute;
    display: inline-block;
    font-size: 11px;
    height: 11px;
    width: 40px;
    transform-origin:0% 100%;
    transform: rotate(90deg);
    color: #E1DBDC;
    top: 145px;
    margin-left: 5px;
}


/*右半部分*/
/*CMYKRGB部分*/
#CMYK{
    border-bottom: 1px solid #E1DBDC;
    width: 50px;
    display: inline-block;
}
#CMYK>div{
    border-top:1px solid #E1DBDC;
}
/*上面四个*/
#c,#m,#y,#k{
    padding-bottom: 15px;
}
/*#m的*/
#m .num{
    color: #CC006B;
}
/*默认第一个的旋转角度*/
#m .div2{
    border:3px solid #CC006B;
    transform: rotate(-93.6deg);
    border-right: 0;
}
#m .div3{
    border:3px solid #CC006B;
    border-left: 0;
}
#y .num{
    color: #FFF10C
}
#y .div2{
    border:3px solid #836C71;
    transform: rotate(-97.2deg);
    border-right: 0;
}
#y .div3{
    border:3px solid #FFF10C;
    border-left: 0;
}
#k .num{
    color: #333333
}
#k .div2{
    border:3px solid #333333;
    transform: rotate(-111.6deg);
    border-right: 0;
}
#k .div3{
    border:3px solid #333333;
    border-left: 0;
}
/*下面三个数字*/
#r>.box,#g>.box,#b>.box{
    margin-top: 5px;
}
#r>.box>div{
    color: #E1DBDC;
    text-align: right;
}
#g>.box>div{
    color: #E1DBDC;
    text-align: right;
}
#b>.box>div{
    color: #E1DBDC;
    text-align: right;
}
/*这是弧形参数*/
.box{
    width: 50px;
    height: 50px;
    box-sizing: border-box;
    position: relative;
}
.num{
    width: 50px;
    height: 50px;
    color: #0093D3;
    font-size: 30px;
    line-height: 50px;
    text-align: center;
    box-sizing: border-box;
    position:absolute;
    top:-3px;
    left: -3px;
}

section{
    width: 50px;
    height: 50px;
    position: absolute;
    top: 0px;
    display: inline-block;
    box-sizing: border-box;
}
.box>section{
    top:-3px;
    left:-3px;
    border-radius:  50% 50%;
    border: 3px solid #836C71;
    box-sizing: border-box;
    opacity: 0.5
}
.div2{
    width: 25px;
    height: 50px;
    float: left;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    border:3px solid #836C71;
    border-right: 0px;
    transform-origin:25px 25px;
    transform: rotate(180deg);
    box-sizing: border-box;
    position: absolute;
    z-index: 3;
    top:-3px;
    left: -3px;
}
.div3{
    width: 25px;
    height: 50px;
    float: right;
    position:absolute;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    border:3px solid #0093D3;
    border-left: 0px;
    transform-origin:0px 25px;
    box-sizing: border-box;
    top:-3px;
    right: -3px;
}
/*这个是rgb值的*/
#r .num,#g .num,#b .num{
    font-size: 24px;
    height: 30px;
    line-height: 30px;
}
#r .box,#g .box,#b .box{
    height: 35px;
}
#CMYK>div>p{
    margin: 0;
    margin-top:10px;
    color: #E1DBDC;
    font-size: 9px;
}
#colName{
    display: inline-block;
    position: absolute;
    width: 470px;
    text-align: center;
    right:  50px;
}
#colName>p:nth-of-type(1){
    font-family: '叶根友刀锋黑草';
    font-size: 70px;
    margin: 0px;
    color: white
}
#colName>p:nth-of-type(2){
    font-family: '叶根友刀锋黑草';
    font-size: 70px;
    margin: 0px;
    color: white
}
#colName>p:nth-of-type(3){
    font-family: '叶根友刀锋黑草';
    font-size: 70px;
    margin: 0px;
    color: white
}
#colName>p:nth-of-type(4){
    font-family: '叶根友刀锋黑草';
    font-size: 70px;
    margin: 0px;
    color: white
}
/*拼音*/
#colName>p:nth-of-type(5){
    color: white;
    font-size: 16px;
    font-family: Georgia;
    font-weight: bold;
}


/*中国颜色*/
/*右半部分的右半部分*/
#chinaCol{
    float: right;
    margin-top: -15px;
}
#chinaCol>img{
    display: inline-block;
    position: relative;
}


/*foot部分*/
#foot{
    margin-top: 10px;
    height: 32px;
}
#foot img:nth-of-type(1){
    position: relative;
    height: 28px;
    width: 28px;
}
#foot a{
    width: 32px;
    height: 32px;
    display: inline-block;
}
#foot section{
    width: 32px;
    height: 32px;
    display: inline-block;
    position: relative;
}
#floor{
    position: absolute;
    width: 100%;
    margin: 0 auto;
    padding-top: 60px;
    top: 0px;
}
#floor>main{
    margin: 0 auto;
    width: 420px;
    padding: 0px;
    position: fixed;
    left:52vw;
}
#logo{
    height: 32px;
    width: 420px;
    border-radius: 3px;
    box-sizing: border-box;
    display: inline-block;
}
#foot #first{
    width: 28px;
    height: 28px;
    background-color: white;
    border-radius: 5px;
}
#juanzeng{
    position: relative;
    top: -9px;
}
#logo #second{
    width: 31px;
    height: 31px;
    position: relative;
    top:2px;
}
#logo>div{
    display: inline-block;
    width: 333px;
}
#logo>div>p{
    width: 333px;
    font-size: 10px;
    color: white;
    margin: 0;
    height: 10px;
    margin-top: 3px;
    display: inline-block;
    padding-left: 20px;
}
#logo>div>p>a{
    color: white;
    width: 45px;
    height: 10px;
}